complement — Complement of a set


\begin{rail}
Complement : 'complement' '(' Matrix ',' Matrix ')' ;
\end{rail}
complement takes two sets (either row or column vectors), and finds the complement of the first set in the second set. This means that it returns the elements of the second set that are not in the first set. $\Longrightarrow$ This is not an built-in function. This function is normally loaded on start-up from the complement.r file in the standard rlib directory. Use of the -r option, incorrectly setting the RLAB_LIB_DIR environmental variable, or modifying complement.r may make this function unavailable.

Subsections